<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>管理员修改页面</title>
     <!-- 给当前页面域添加一段java代码，用来自动获取当前项目名，不写死,然后再通过EL表达式获取 -->
    <%
    	pageContext.setAttribute("PATH",request.getContextPath());
    
     %>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	<!-- 引入bootstrapcss与js -->
  <%--  <link rel="stylesheet" href="${PATH}/css/bootstrap.css">
	<script type="text/javascript" src="${PATH}/js/bootstrap.js"></script> --%>
    
  </head>
  
  <body>
   	<form action="${PATH}/admin/update.do" method="post">      
        <table width="1000" border="1">  
            <tr>                
                <th>ID</th>  
                <th>登录名</th>  
                <th>密码</th>  
            </tr>           
            <tr>  
            	<td><input type="text" id="id" name="id" value="${admin.id }" readonly="readonly"></td>
                <td><input type="text" id="username" name="username" value="${admin.username }" required="required"></td>  
                <td><input type="text" id="password" name="password" value="${admin.password }" required="required"></td>  
           </tr>  
    	</table>  
   		<input class="btn btn-success" type="submit" value="提交"/>  
   		<input class="btn btn-warning" type="reset" value="取消"/>  
   	</form>  
  </body>
</html>
